package com.ibeeking.found.upms.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName CpTpPermissionGroupParam
 * @Description
 * @Author ibeeking
 * @Date 2020-12-01 18:15
 **/
@Data
public class CpTpPermissionGroupParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 菜单名称
     */
    @NotBlank(message = "菜单名称不能为空", groups = {BaseValidationGroup.Insert.class, BaseValidationGroup.Update.class})
    private String name;

    /**
     * icon
     */
    private String icon;

    /**
     * 排序
     */
    private Integer sort = 1;

    /**
     * 备注
     */
    private String remark;

    private Long createBy;

    private Long modifyBy;
}
